TAG=libmxml.a
OBJ=mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-private.o mxml-search.o mxml-set.o mxml-string.o
CFLAGS= -Os -g  -Wall   -D_THREAD_SAFE -D_REENTRANT -c
AR=ar
ARFLAGS= crvs
CC=gcc

all: $(TAG)

$(TAG): $(OBJ)
	$(AR) $(ARFLAGS) $@ $^

.c.o:
	$(CC) -o $@ $< $(CFLAGS)

clean:
	-rm -f $(OBJ) $(TAG)
